import { Rate } from './rate';
import { XmlObject, XmlChildElement,XmlAttribute, XmlElement } from "xml-core";
@XmlElement({ localName: 'timecode'})
export class TimeCode extends XmlObject {

    @XmlAttribute({ localName: 'string' })
    public _string: string;

    @XmlAttribute({ localName: 'source' })
    public _source: string;

    @XmlChildElement({ noRoot: true })
    public rate: Rate;

    @XmlChildElement()
    public frame: number;

    @XmlChildElement()
    public displayformat: string;

}